package com.tencreat.domain.mall;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tencreat.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 参与秒杀用户对象 mall_order_kill
 *
 * @author tencreat
 * @date 2021-09-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_order_kill")
public class MallOrderKill{
    private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    /** 秒杀id */
    @Excel(name = "秒杀id")
    @ApiModelProperty(value= "秒杀id")
    @TableField("`kill_id`")
    private Long killId;


    /** 订单sn */
    @Excel(name = "订单sn")
    @ApiModelProperty(value= "订单sn")
    @TableField("`order_sn`")
    private String orderSn;


    @ApiModelProperty(value= "用户ID")
    @TableField("`uuid`")
    private Long uuid;
}
